package com.hk.commons.entity.product;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "t_productPar_info")
public class ProductParInfo implements Serializable {

	 

	/**
	 * 
	 */
	private static final long serialVersionUID = -178685683447064786L;

	@Id
    @GeneratedValue (generator =  "paymentableGenerator" )    
    @GenericGenerator (name =  "paymentableGenerator" , strategy =  "increment" )   
	public Integer id;
	
	 
	/**
	 * 产品名称
	 * */
	public String name;
	
	/**
	 * 产品描述
	 */
	public String proDesc;
	
	/**
	 * 风险等级
	 */
	public String riskLevel;

	/**
	 * 募集总量
	 */
	public BigDecimal financingAccount;
	
	/**
	 * 已募集总量
	 */
	public BigDecimal yraiseAccount;
	
	/**
	 * 剩余募集量
	 */
	public BigDecimal sraiseAccount;
	
	/**
	 * 最低收益
	 */
	public String minYearRate;
	
	/**
	 * 最搞收益
	 */
	public String maxYearRate;
	
	/**
	 * 创建时间
	 */
	public Long cts;


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public Long getCts() {
		return cts;
	}


	public void setCts(Long cts) {
		this.cts = cts;
	}


	public String getProDesc() {
		return proDesc;
	}


	public void setProDesc(String proDesc) {
		this.proDesc = proDesc;
	}


	public String getRiskLevel() {
		return riskLevel;
	}


	public void setRiskLevel(String riskLevel) {
		this.riskLevel = riskLevel;
	}


	public BigDecimal getFinancingAccount() {
		return financingAccount;
	}


	public void setFinancingAccount(BigDecimal financingAccount) {
		this.financingAccount = financingAccount;
	}


	public BigDecimal getYraiseAccount() {
		return yraiseAccount;
	}


	public void setYraiseAccount(BigDecimal yraiseAccount) {
		this.yraiseAccount = yraiseAccount;
	}


	public BigDecimal getSraiseAccount() {
		return sraiseAccount;
	}


	public void setSraiseAccount(BigDecimal sraiseAccount) {
		this.sraiseAccount = sraiseAccount;
	}


	public String getMinYearRate() {
		return minYearRate;
	}


	public void setMinYearRate(String minYearRate) {
		this.minYearRate = minYearRate;
	}


	public String getMaxYearRate() {
		return maxYearRate;
	}


	public void setMaxYearRate(String maxYearRate) {
		this.maxYearRate = maxYearRate;
	}


	@Override
	public String toString() {
		return "ProductParInfo [id=" + id + ", name=" + name + ", proDesc="
				+ proDesc + ", riskLevel=" + riskLevel + ", financingAccount="
				+ financingAccount + ", yraiseAccount=" + yraiseAccount
				+ ", sraiseAccount=" + sraiseAccount + ", minYearRate="
				+ minYearRate + ", maxYearRate=" + maxYearRate + ", cts=" + cts
				+ "]";
	}
	
	
}
